# -*- coding: utf-8 -*-
from tipfy import Rule

def get_rules(app):
    rules = [
        Rule('/', endpoint='home', handler='apps.rpx_demo.handlers.RPXDemoHandler'),
        Rule('/auth/logout', endpoint='auth/logout',
             handler='apps.rpx_demo.handlers.LogoutHandler'),
        Rule('/auth/login', endpoint='auth/login',
             handler='apps.rpx_demo.handlers.LoginHandler'),
        Rule('/auth/signup', endpoint='auth/signup',
             handler='apps.rpx_demo.handlers.SignupHandler'),
        Rule('/auth/rpx', endpoint='auth/rpx',
             handler='apps.rpx_demo.handlers.RPXAuthHandler'),
    ]

    return rules
